i=input("输入一段文字")
fo=open("d:hello.txt","w")
fo.write(i)
print("保存成功")
fo.close()
